namespace MyBlog.DataEntity
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;

    public partial class Tbl_Mood
    {
        public Tbl_Mood()
        {
            Tbl_MoodComment = new HashSet<Tbl_MoodComment>();
        }

        public int ID { get; set; }

        [Required]
        [StringLength(20)]
        public string AccountId { get; set; }

        [Required]
        [StringLength(550)]
        public string Content { get; set; }

        public DateTime CreateTime { get; set; }

        public DateTime LastUpdateTime { get; set; }

        public virtual Tbl_Account Tbl_Account { get; set; }

        public virtual ICollection<Tbl_MoodComment> Tbl_MoodComment { get; set; }

        public string AgreeUsers { get; set; }
    }
}
